import React, {Component} from 'react';
import './two-f.scss'

class TwoF extends Component {
  render() {
    return (
        <div>
            {/*单行-两个内容*/}
            <div className="two-f">
              <div className="block-content">
                {/*标题*/}
                <div className="f-title">
                  <span>{this.props.title[0]}</span>
                </div>
                {/*内容*/}
                <div className="f-content">
                  <div className="content ellipsis">{this.props.content[0]}</div>
                </div>
              </div>
              <div className="block-content">
                {/*标题*/}
                <div className="f-title">
                  <span>{this.props.title[1]}</span>
                </div>
                {/*内容*/}
                <div className="f-content">
                  <div className="content ellipsis">{this.props.content[1]}</div>
                </div>
              </div>
            </div>
        </div>
    );
  }
}

export default TwoF;
